package com.yanlight.app.dal.dao;

import com.yanlight.app.dal.entity.CheckCode;

public interface CheckCodeDAO {

    int save(CheckCode checkCode);

    int countCode(String phone, String type, String ip);

    CheckCode findNewestOne(String phone, String type, String ip);

    int updateUsedStatus(Long id, boolean status);
}
